<button pButton type="button"
        (click)="jumper()" label="拒绝"
        *ngIf="data.status == '待接班'"></button>
<p-dialog [(visible)]="display" modal="modal" [responsive]="true" [width]="350" [minWidth]="200">
    <form [formGroup]="myForm" class="form-horizontal">
        <div class="form-group" >
            <label class="col-sm-4 control-label">
                <span ngClass="start_red">*</span>拒绝原因：</label>
            <div class="col-sm-8 ui-fluid-no-padding">
                <div class="col-sm-12  ui-fluid">
                         <textarea [rows]="2" pInputTextarea
                                   autoResize="autoResize"
                                   formControlName="reason"
                                   [(ngModel)]="handoverObj.accept_remarks"></textarea>
                </div>
            </div>
            <app-field-error-display
                    [displayError]="isFieldValid('reason')"
                    errorMsg="不能为空"
            ></app-field-error-display>
        </div>
    </form>
    <p-footer>
        <button  pButton type="button" (click)="reject()" label="确定" ></button>
        <button   pButton type="button" (click)="onHide()" label="取消" ></button>
    </p-footer>
</p-dialog>